package com.fire.communication.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("device_alarm_log")//单位设备详细日志表
public class DeviceAlarmLog extends BasisEntity {

    private String id;//主键id
    private String deviceId;//设备id
    private String number;//设备编号
    private String deviceClassify;//设备分类:1 电气火灾 2 消防用水 3 烟感 4 可燃气体 5 火灾自动联网 6 消防可视化
    private String deviceType;//设备类型id
    private String alarmType;//报警类型:对应字典表报警类型
    private String alarmTypeName;//报警类型名称
    private String content;//报警内容
    private Date alarmtime;//报警时间
    private String position;//安装位置
    private String orgId;//机构id
    private String businessId;//单位id
    private String businessName;//单位名称
    private String fireRating;//消防等级: 消防安全重点单位、消防安全一般单位、九小场所、 其它
    private Boolean isHandle;//是否处理：0 未处理 1已处理
    private String alarmPhone;//报警电话
    private String supervise;//督办
    private Date handletime;//处理时间
    private String handlePerson;//处理人员
    private Integer infoconfirm;//信息确认：1 报警 2 误报 3 测试
    private String handleRemark;//处置备注
    private Boolean unreadstate;//已读未读状态：1 已读  0  未读
    private String fireId;//消防id
    private String allId;//上级及本级机构id

    public String getAllId() {
        return this.getString("allId");
    }

    public void setAllId(String allId) {
        this.put("allId",allId);
    }

    public String getFireId() {
        return this.getString("fireId");
    }

    public void setFireId(String fireId) {
        this.put("fireId",fireId);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getDeviceId() {
        return this.getString("deviceId");
    }

    public void setDeviceId(String deviceId) {
        this.put("deviceId",deviceId);
    }

    public String getDeviceClassify() {
        return this.getString("deviceClassify");
    }

    public void setDeviceClassify(String deviceClassify) {
        this.put("deviceClassify",deviceClassify);
    }

    public String getDeviceType() {
        return this.getString("deviceType");
    }

    public void setDeviceType(String deviceType) {
        this.put("deviceType",deviceType);
    }

    public String getAlarmType() {
        return this.getString("alarmType");
    }

    public void setAlarmType(String alarmType) {
        this.put("alarmType",alarmType);
    }

    public String getContent() {
        return this.getString("content");
    }

    public void setContent(String content) {
        this.put("content",content);
    }

    public Date getAlarmtime() {
        return this.getDate("alarmtime");
    }

    public void setAlarmtime(Date alarmtime) {
        this.put("alarmtime",alarmtime);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public String getBusinessName() {
        return this.getString("businessName");
    }

    public void setBusinessName(String businessName) {
        this.put("businessName",businessName);
    }

    public Boolean getHandle() {
        return this.getBoolean("handle");
    }

    public void setHandle(Boolean handle) {
        this.put("handle",handle);
    }

    public String getAlarmPhone() {
        return this.getString("alarmPhone");
    }

    public void setAlarmPhone(String alarmPhone) {
        this.put("alarmPhone",alarmPhone);
    }

    public String getSupervise() {
        return this.getString("supervise");
    }

    public void setSupervise(String supervise) {
        this.put("supervise",supervise);
    }

    public Date getHandletime() {
        return this.getDate("handletime");
    }

    public void setHandletime(Date handletime) {
        this.put("handletime",handletime);
    }

    public String getHandlePerson() {
        return this.getString("handlePerson");
    }

    public void setHandlePerson(String handlePerson) {
        this.put("handlePerson",handlePerson);
    }

    public Integer getInfoconfirm() {
        return this.getInteger("infoconfirm");
    }

    public void setInfoconfirm(Integer infoconfirm) {
        this.put("infoconfirm",infoconfirm);
    }

    public String getHandleRemark() {
        return this.getString("handleRemark");
    }

    public void setHandleRemark(String handleRemark) {
        this.put("handleRemark",handleRemark);
    }

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public String getPosition() {
        return this.getString("position");
    }

    public void setPosition(String position) {
        this.put("position",position);
    }

    public String getOrgId() {
        return this.getString("orgId");
    }

    public void setOrgId(String orgId) {
        this.put("orgId",orgId);
    }

    public String getFireRating() {
        return this.getString("fireRating");
    }

    public void setFireRating(String fireRating) {
        this.put("fireRating",fireRating);
    }

    public String getAlarmTypeName() {
        return this.getString("alarmTypeName");
    }

    public void setAlarmTypeName(String alarmTypeName) {
        this.put("alarmTypeName",alarmTypeName);
    }

    public Boolean getUnreadstate() {
        return this.getBoolean("unreadstate");
    }

    public void setUnreadstate(Boolean unreadstate) {
        this.put("unreadstate",unreadstate);
    }
}
